import layout from '@/layout'
const authorRouter = {
  path: '/author',
  redirect: '/author/authorUser',
  component: layout,
  name: 'author',
  meta: {
    title: '权限管理',
    icon: 'nested'
  },
  children: [
    {
      path: 'authorUser',
      name: 'AuthorUser',
      component: () => import('@/views/dashboard/author/authorUser'),
      meta: {
        title: '用户管理'
      }
    },
    {
      path: 'authorMenu',
      name: 'AuthorMenu',
      component: () => import('@/views/dashboard/author/authorMenu'),
      meta: {
        title: '菜单管理'
      }
    },
    {
      path: 'authorRole',
      name: 'AuthorRole',
      component: () => import('@/views/dashboard/author/authorRole'),
      meta: {
        title: '角色管理'
      }
    },
    {
      path: 'authorDept',
      name: 'AauthorDept',
      component: () => import('@/views/dashboard/author/authorDept'),
      meta: {
        title: '部门管理'
      }
    },
    {
      path: 'authorTenant',
      name: 'AuthorTenant',
      component: () => import('@/views/dashboard/author/authorTenant'),
      meta: {
        title: '租户管理'
      }
    },
    {
      path: 'authorExternal',
      name: 'AuthorExternal',
      component: () => import('@/views/dashboard/author/authorExternal'),
      meta: {
        title: '外部系统管理'
      }
    },
    {
      path: 'authorAuthSystem',
      name: 'AuthorAuthSystem',
      component: () => import('@/views/dashboard/author/authorAuthSystem'),
      meta: {
        title: '单点系统管理'
      }
    }
  ]
}
export default authorRouter
